<?php
session_start();	// start SESSION
include_once ("mysql.class.php"); //mysql class
include_once ("config.php"); 
include_once ("page.class.php"); //for back stage class
include_once ("action.class.php"); //operation class of database

$db = new action($mydbhost, $mydbuser, $mydbpw, $mydbname, ALL_PS, $mydbcharset); //the class of database .

mysql_query("set names GBK");

$username = $_SESSION[username];
$shell = $_SESSION[shell];
?>